﻿<?php $locale = $tm->getCurrentLocale(); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $locale->getLocaleLanguage(); ?>" lang="<?php echo $locale->getLocaleLanguage(); ?>"<?php if($rtl): ?> dir="rtl"<?php endif; ?>>
	<head>
		<link rel="schema.DC" href="http://purl.org/dc/elements/1.1/" />
		<link rel="schema.DCTERMS" href="http://purl.org/dc/terms/" />
		<meta name="DC.title" content=":: ITBerga ::" />
		<meta name="DC.subject" content="IT Services for the SMB market that will help our customers to take advantage of the newest information technologies available." />
		<meta name="DC.type" scheme="DCTERMS.DCMIType" content="Text" />
		<meta name="DC.format" content="text/html; charset=UTF-8" />
		<meta name="DC.identifier" scheme="DCTERMS.URI" content="<?php echo $ro->gen(null, array(), array('relative'=>false)) ?>" />
		<meta name="DC.language" scheme="DCTERMS.RFC1766" content="<?php echo $locale->getLocaleLanguage(); ?>" />
		<meta http-equiv="Content-Type" content="<?php echo $container->getOutputType()->getParameter('http_headers[Content-Type]', 'text/html; charset=utf-8'); ?>"/>
		<title>:: ITBerga ::</title>
		<base href="<?php echo $ro->getBaseHref(); ?>" />
		<link href="/css/itberga.css" type="text/css" rel="stylesheet" />
		<link rel="stylesheet" type="text/css" href="/js/chrome/chromestyle.css" />
		<script type="text/javascript" src="/js/chrome/chrome.js">
		/***********************************************
		* Chrome CSS Drop Down Menu- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
		* This notice MUST stay intact for legal use
		* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
		***********************************************/
		</script>
		<link rel="shortcut icon" href="/img/favicon.ico">
<?php 
if (isset($template['css_files'])) foreach ($template['css_files'] as $xcss)
	echo "		<link href=\"$xcss\" rel=\"stylesheet\" type=\"text/css\" />\n";

if (isset($template['js_files'])) foreach ($template['js_files'] as $xjse)
	echo "		<script type=\"text/javascript\" src=\"$xjse\"></script>\n";

if (isset($template['js_internal'])) echo $template['js_internal'];
?>
	</head>
	<body>
	<div id="page">
		<div id="header">
			<table width="100%" cellpadding="0" cellspacing="0" border="0">
				<tr>
					<td valign="bottom">
					<img src="/img/LogoGran215x50.png" title="Logo" border="0" />
					</td>
					<td valign="bottom" align="right">
 					<a href="mailto:info@itberga.com"><img src="/img/email_12.png" title="email" border="0" /></a>&nbsp;
 					<a href="<?php echo $ro->gen('itberga.map') ?>"><img src="/img/mapaweb_12.png" title="map" border="0" /></a><br />
<?php
$languages = array();
foreach($tm->getAvailableLocales() as $availableLocale) {
	$languages[$availableLocale['identifier']] = $availableLocale['parameters']['description'];
}

$currentLanguage = $tm->getCurrentLocaleIdentifier();

$otherLanguages = array_diff_key($languages, array($currentLanguage => null));
?>
 				<strong><?php echo $languages[$currentLanguage]; ?></strong>
<?php foreach($otherLanguages as $key => $value) {  ?>
&nbsp;|&nbsp;<a href="<?php echo $ro->gen(null, array('locale' => $key)); ?>" hreflang="<?php echo $key; ?>"><?php echo $value; ?></a>
<?php } ?>
					</td>
				</tr>
			</table>
		</div>
		<div id="header_image">&nbsp;</div>
		<div class="chromestyle" id="chromemenu">
			<ul>
			<li><a href="<?php echo $ro->gen('itberga.index') ?>"><?php echo $tm->_('Home', 'itberga.layout') ?></a></li>
			<li><a href="#" rel="dropmenu1"><?php echo $tm->_('IT Services', 'itberga.layout') ?></a></li>	
			<li><a href="#" rel="dropmenu2"><?php echo $tm->_('Language Services', 'itberga.layout') ?></a></li>
			<li><a href="#" rel="dropmenu3"><?php echo $tm->_('Who we are', 'itberga.layout') ?></a></li>
			<li><a href="<?php echo $ro->gen('itberga.contact') ?>"><?php echo $tm->_('Contact us', 'itberga.layout') ?></a></li>
			</ul>
		</div>
		<!--2nd drop down menu -->                                                   
		<div id="dropmenu1" class="dropmenudiv">
			<a href="<?php echo $ro->gen('itberga.it.intranet') ?>"><?php echo $tm->_('LAN Setup & Migration', 'itberga.layout') ?></a>
			<a href="<?php echo $ro->gen('itberga.it.b2b') ?>"><?php echo $tm->_('B2B & e-business', 'itberga.layout') ?></a>
			<a href="<?php echo $ro->gen('itberga.it.open') ?>"><?php echo $tm->_('Open Source', 'itberga.layout') ?></a>
			<a href="<?php echo $ro->gen('itberga.it.web') ?>"><?php echo $tm->_('Web Design', 'itberga.layout') ?></a>
		</div>
		<!--3rd drop down menu -->                                                   
		<div id="dropmenu2" class="dropmenudiv">
			<a href="<?php echo $ro->gen('itberga.lang.localization') ?>"><?php echo $tm->_('Software localization', 'itberga.layout') ?></a>
		</div>
		<!--4th drop down menu -->                                                   
		<div id="dropmenu3" class="dropmenudiv">
			<a href="<?php echo $ro->gen('itberga.who') ?>"><?php echo $tm->_('Our motto', 'itberga.layout') ?></a>
			<a href="<?php echo $ro->gen('itberga.who.refs') ?>"><?php echo $tm->_('Recent Jobs', 'itberga.layout') ?></a>
		</div>
		<script type="text/javascript">
			cssdropdown.startchrome("chromemenu")
		</script>
 		<div id="senefa">&nbsp;</div>
		<div id="title"><?php echo $template['title'] ?></div>
		<div id="content"><?php echo $slots['content'] ?></div>
		<div id="footer">
		&copy; ITBerga, S.L. 2008 :: <?php echo $tm->_('All Rights Reserved.', 'itberga.layout') ?> :: <a href="<?php echo $ro->gen('itberga.legal') ?>"><?php echo $tm->_('Legal', 'itberga.layout') ?></a> :: <a href="<?php echo $ro->gen('itberga.privacy') ?>"><?php echo $tm->_('Privacy', 'itberga.layout') ?></a>
		</div>
	</div>
	</body>
</html>